package com.loong.shop.service;

import com.loong.common.rest.rpc.RPCResponse;
import com.loong.shop.dto.GoodsSkuDTOResultInShop;

import java.util.List;

/**
 * @Description:
 * @Author: LiuQun
 * @Date: 2021/1/5 17:11
 */
public interface IGoodsSkuService {

    /**
     * 根据商品skuId查询商品sku
     * @param skuId 商品skuId
     * @return rpc结果
     */
    RPCResponse<GoodsSkuDTOResultInShop> findGoodsSkuBySkuId(Long skuId);

    /**
     * 根据skuId集合查所有的sku
     * @param skuIds
     * @return
     */
    RPCResponse<List<GoodsSkuDTOResultInShop>> findGoodsSkuListInSkuId(List<Long> skuIds);
}
